package javaer.starter.core.handler;


import org.springframework.stereotype.Component;

import java.io.IOException;

/**
 * @author yangzhen
 * @date 2022/1/6 11:04
 * @since 1.0.0
 */
@Component("singleModuleTemplateHandler")
public class SingleModuleTemplateHandler extends DynamicTemplateHandler {

    public SingleModuleTemplateHandler() {
    }

    @Override
    protected void getProjectModulePath(ModuleContext moduleContext) throws IOException {
        moduleContext.setModulePath(moduleContext.getProjectPath());
    }
}
